<html  lang="en"  xmlns:th="http://www.thymeleaf.org" >
    <head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title>新增公告</title>
        <script type="text/javascript" th:src="${application.staticUrl}+'base/notice/jqueryUploader/jQuery.upload2.js'"></script>
        <!--<script type="text/javascript" th:src="${application.staticUrl}+'frame/tinymce/tinymce.min.js'"></script>-->
        <!--<script type="text/javascript" th:src="${application.staticUrl}+'frame/tinymce/langs/zh_CN.js'"></script>-->
	</head>

	<head th:include="frame/fm/res :: noticeCss"/>
	<head th:include="frame/fm/res :: addNoticeCss"/>

    <script th:inline="JavaScript">
        var type = [[${type}]];
        var backUrl=[[${backUrl}]];
    </script>
    <body>
    <!--/Preloader-->
    <div class="page-wrapper">
        <div class="container-fluid">
            <span th:replace="frame/fm/res :: breadcrumb"></span>
           <!-- Row -->
            <div class="row">
                <div class="col-md-12">
                    <div class="panel panel-default card-view">
                        <div class="title-div">

                            <div class="notice-title-div" id="tlDiv"><!--class + "has-error has-danger" 变红-->
                                <label for="noticeTitle" class="notic-title-lable">公告标题</label>
                                <input class="notice-title-input" maxlength="20" id="noticeTitle" placeholder="必填" required="" type="text"/>
                                <input type="hidden" id="noticeId"/>
                                <label class="notic-title-lable-2" id="labTitle" style="display:none;"></label>
                            </div>
                        </div>
                        <div class="title-div">
                            <!--<div class="notice-title-div" id="typeDiv">&lt;!&ndash;class + "has-error has-danger" 变红&ndash;&gt;-->
                                <!--<label for="noticeType" class="notic-title-lable">公告类型</label>-->
                                <!--<select id="noticeType" class="notice-title-input" data-placeholder="Choose a Category" placeholder="必填"  tabindex="1" style="width:80%;">-->
                                    <!--&lt;!&ndash;<option value="courseSystem">课程体系管理</option>-->
                                    <!--<option value="teachTeam">教研团队管理</option>-->
                                    <!--<option value="contactUs">联系我们信息管理</option>-->
                                    <!--<option value="courseSelection">课程精选管理</option>-->
                                    <!--<option value="videoRecommend">视频推荐管理</option>-->
                                    <!--<option value="articleInformation">文章资讯管理</option>-->
                                    <!--<option value="newsOverview">新闻总览管理</option>-->
                                    <!--<option value="PrincipalNotice">校长发布全校区通知</option>-->
                                    <!--<option value="examineNotice">审核老师通知</option>&ndash;&gt;-->
                                <!--</select>-->
                            <!--</div>-->
                            <div id="saveNameBtn" onclick="addNoticeTitle()" style="display: block;">
                                <button class="btn btn-primary btn-icon-anim btn-square btn-sm" style=" width: 120px;">
                                    <i class="icon-plus-save"></i>
                                </button>
                            </div>
                        </div>


                        <div class="title-div">
                            <div class="notice-title-div" id="acceptObjDiv">
                                <input name="acceptObj" id="all" value="1" required="" type="radio"/>
                                <label for="all"> 全部 </label>
                                <input name="acceptObj" id="part" value="2" required="" type="radio"/>
                                <label for="part"> 指定人员 </label>

                            </div>
                        </div>


                        <!--头部，相册选择和格式选择-->
                        <div id="bodyCollectionDiv">

                            <!-- 公告图片start -->
                            <div class="case" id="ntImgDiv" style="">
                                <div class="upload" id='case' data-num="10"></div>
                            </div>
                            <!--  公告图片 end-->
                            <!-- textarea编辑框 start-->
                            <div id="textareaContent" class="panel-wrapper collapse in"  style="width: 800px;">
                                <div class="panel-body">
                                    <textarea class="tinymce"></textarea>
                                </div>
                            </div>
                            <!-- textarea编辑框 end-->
                        </div>

                        <div id="saveNoticeBtn" onclick="addNoticeDetail()" style="display: block;">
                            <button class="btn btn-primary btn-icon-anim btn-square btn-sm" style=" width: 120px;">
                                <i class="icon-plus-save"></i>
                            </button>
                        </div>
                    </div>

                </div>
            </div>
            <!-- /Row -->
        </div>

    </div>
    <script type="text/javascript" th:src="${application.staticUrl}+'base/notice/js/addNoticeTinymce.js'"></script>


    </body>
</html>